package com.sg.service.biz.component.impl;

import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.component.req.CalculateRepTaskPubDataPrepComReqDto;
import com.sg.dto.biz.component.req.QueryClassMatchResultToAnswerDetailComReqDto;
import com.sg.dto.biz.component.req.QueryConfItemMatchAnswerDetailComReqDto;
import com.sg.dto.biz.component.req.QueryConfItemMatchEvaTempAnswerDetailComReqDto;
import com.sg.dto.biz.component.res.CalculateRepTaskPubDataPrepComRespDto;
import com.sg.dto.biz.component.res.QueryClassMatchResultToAnswerDetailComRespDto;
import com.sg.dto.biz.component.res.QueryConfItemMatchAnswerDetailComRespDto;
import com.sg.dto.biz.component.res.QueryConfItemMatchEvaTempAnswerDetailComRespDto;
import com.sg.service.biz.component.ConfSchemeService;
import com.sg.common.exception.Assert;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class TaskServiceImpl
        implements com.wicket.okrcomponent.biz.service.TaskService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private ConfSchemeService confSchemeService;

    /**
     * D2-计算汇报任务公共数据准备(公共)[3204]
     * gen by moon at 2/10/2023, 9:43:38 PM
     */
    @Trace(operationName = "D2-计算汇报任务公共数据准备(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public CalculateRepTaskPubDataPrepComRespDto calculateRepTaskPubDataPrepCom(CalculateRepTaskPubDataPrepComReqDto reqDto) {


        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_1 = null;
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_3 = null;
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_5 = null;
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_7 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 = null;
        QueryConfItemMatchEvaTempAnswerDetailComRespDto queryConfItemMatchEvaTempAnswerDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_3 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_5 = null;
        QueryConfItemMatchEvaTempAnswerDetailComRespDto queryConfItemMatchEvaTempAnswerDetailComRespDto_3 = null;
//步骤0: D2-3查询分组匹配结果转答案(公共)(跨服务） - queryClassMatchResultToAnswerDetailCom
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto = null;
        QueryClassMatchResultToAnswerDetailComReqDto queryClassMatchResultToAnswerDetailComReqDto = new QueryClassMatchResultToAnswerDetailComReqDto();
        queryClassMatchResultToAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:131903_1
        queryClassMatchResultToAnswerDetailComReqDto.setConfItemClassCode("REPORT_SET_CLASS");//CUSTOM_CONVENTION//sourceId:131869_1
        queryClassMatchResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:308489_1
        if (reqDto != null) {
            queryClassMatchResultToAnswerDetailComReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:131902_1
        }

        /*查询汇报相关设置[3088]   */
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getResultAspObjId(), "D2-计算汇报任务公共数据准备(公共)-查询汇报相关设置-答案归属对象ID不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getResultAspObjType(), "D2-计算汇报任务公共数据准备(公共)-查询汇报相关设置-答案归属对象类型不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getConfItemClassCode(), "D2-计算汇报任务公共数据准备(公共)-查询汇报相关设置-分组标识不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getIsPlatData(), "D2-计算汇报任务公共数据准备(公共)-查询汇报相关设置-是否标准答案不能为空", false);
        queryClassMatchResultToAnswerDetailComRespDto = confSchemeService.queryClassMatchResultToAnswerDetailCom(queryClassMatchResultToAnswerDetailComReqDto);


        queryClassMatchResultToAnswerDetailComRespDto_1 = queryClassMatchResultToAnswerDetailComRespDto;

//步骤1: D2-3查询分组匹配结果转答案(公共)(跨服务） - queryClassMatchResultToAnswerDetailCom
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_2 = null;
        QueryClassMatchResultToAnswerDetailComReqDto queryClassMatchResultToAnswerDetailComReqDto_1 = new QueryClassMatchResultToAnswerDetailComReqDto();
        queryClassMatchResultToAnswerDetailComReqDto_1.setResultAspObjType("EVA_TEMP");//sourceId:170257_1
        queryClassMatchResultToAnswerDetailComReqDto_1.setConfItemClassCode("SUBJECTIVE_SCORE_COUNT_CONF_CLASS");//CUSTOM_CONVENTION//sourceId:170223_1
        queryClassMatchResultToAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:308491_1
        if (reqDto != null) {
            queryClassMatchResultToAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:170256_1
        }

        /*查询主观评分满分值[3088]   */
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_1.getResultAspObjId(), "D2-计算汇报任务公共数据准备(公共)-查询主观评分满分值-答案归属对象ID不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_1.getResultAspObjType(), "D2-计算汇报任务公共数据准备(公共)-查询主观评分满分值-答案归属对象类型不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_1.getConfItemClassCode(), "D2-计算汇报任务公共数据准备(公共)-查询主观评分满分值-分组标识不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_1.getIsPlatData(), "D2-计算汇报任务公共数据准备(公共)-查询主观评分满分值-是否标准答案不能为空", false);
        queryClassMatchResultToAnswerDetailComRespDto_2 = confSchemeService.queryClassMatchResultToAnswerDetailCom(queryClassMatchResultToAnswerDetailComReqDto_1);


        queryClassMatchResultToAnswerDetailComRespDto_3 = queryClassMatchResultToAnswerDetailComRespDto_2;

//步骤2: D2-3查询分组匹配结果转答案(公共)(跨服务） - queryClassMatchResultToAnswerDetailCom
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_4 = null;
        QueryClassMatchResultToAnswerDetailComReqDto queryClassMatchResultToAnswerDetailComReqDto_2 = new QueryClassMatchResultToAnswerDetailComReqDto();
        queryClassMatchResultToAnswerDetailComReqDto_2.setResultAspObjType("EVA_TEMP");//sourceId:170339_1
        queryClassMatchResultToAnswerDetailComReqDto_2.setConfItemClassCode("DECIMAL_POINT_RULES_SET_CLASS");//CUSTOM_CONVENTION//sourceId:170305_1
        queryClassMatchResultToAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:308493_1
        if (reqDto != null) {
            queryClassMatchResultToAnswerDetailComReqDto_2.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:170338_1
        }

        /*查询小数点规则设置[3088]   */
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_2.getResultAspObjId(), "D2-计算汇报任务公共数据准备(公共)-查询小数点规则设置-答案归属对象ID不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_2.getResultAspObjType(), "D2-计算汇报任务公共数据准备(公共)-查询小数点规则设置-答案归属对象类型不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_2.getConfItemClassCode(), "D2-计算汇报任务公共数据准备(公共)-查询小数点规则设置-分组标识不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_2.getIsPlatData(), "D2-计算汇报任务公共数据准备(公共)-查询小数点规则设置-是否标准答案不能为空", false);
        queryClassMatchResultToAnswerDetailComRespDto_4 = confSchemeService.queryClassMatchResultToAnswerDetailCom(queryClassMatchResultToAnswerDetailComReqDto_2);


        queryClassMatchResultToAnswerDetailComRespDto_5 = queryClassMatchResultToAnswerDetailComRespDto_4;

//步骤3: D2-3查询分组匹配结果转答案(公共)(跨服务） - queryClassMatchResultToAnswerDetailCom
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_6 = null;
        QueryClassMatchResultToAnswerDetailComReqDto queryClassMatchResultToAnswerDetailComReqDto_3 = new QueryClassMatchResultToAnswerDetailComReqDto();
        queryClassMatchResultToAnswerDetailComReqDto_3.setResultAspObjType("EVA_TEMP");//sourceId:170425_1
        queryClassMatchResultToAnswerDetailComReqDto_3.setConfItemClassCode("EVA_SCORE_SET_CLASS");//CUSTOM_CONVENTION//sourceId:170391_1
        queryClassMatchResultToAnswerDetailComReqDto_3.setIsPlatData("FALSE");//sourceId:482529_1
        if (reqDto != null) {
            queryClassMatchResultToAnswerDetailComReqDto_3.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:170424_1
        }

        /*查询评分设置相关[3088]   */
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_3.getResultAspObjId(), "D2-计算汇报任务公共数据准备(公共)-查询评分设置相关-答案归属对象ID不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_3.getResultAspObjType(), "D2-计算汇报任务公共数据准备(公共)-查询评分设置相关-答案归属对象类型不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_3.getConfItemClassCode(), "D2-计算汇报任务公共数据准备(公共)-查询评分设置相关-分组标识不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto_3.getIsPlatData(), "D2-计算汇报任务公共数据准备(公共)-查询评分设置相关-是否标准答案不能为空", false);
        queryClassMatchResultToAnswerDetailComRespDto_6 = confSchemeService.queryClassMatchResultToAnswerDetailCom(queryClassMatchResultToAnswerDetailComReqDto_3);


        queryClassMatchResultToAnswerDetailComRespDto_7 = queryClassMatchResultToAnswerDetailComRespDto_6;

//步骤4: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:170555_1
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("SUBJECTIVE_SCORE_COUNT_RULE");//CUSTOM_CONVENTION//sourceId:170554_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:308495_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:170556_1
        }

        /*查询主观得分计算规则[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2-计算汇报任务公共数据准备(公共)-查询主观得分计算规则-答案归属对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(), "D2-计算汇报任务公共数据准备(公共)-查询主观得分计算规则-答案归属对象类型不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2-计算汇报任务公共数据准备(公共)-查询主观得分计算规则-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2-计算汇报任务公共数据准备(公共)-查询主观得分计算规则-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto);


        queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;

//步骤5: D2-3查询配置项匹配模板答案(公共)（跨服务） - queryConfItemMatchEvaTempAnswerDetailCom
        QueryConfItemMatchEvaTempAnswerDetailComRespDto queryConfItemMatchEvaTempAnswerDetailComRespDto = null;
        QueryConfItemMatchEvaTempAnswerDetailComReqDto queryConfItemMatchEvaTempAnswerDetailComReqDto = new QueryConfItemMatchEvaTempAnswerDetailComReqDto();
        queryConfItemMatchEvaTempAnswerDetailComReqDto.setConfItemCode("LAST_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:171999_1
        queryConfItemMatchEvaTempAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:308499_1
        queryConfItemMatchEvaTempAnswerDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:308500_1
        if (reqDto != null) {
            queryConfItemMatchEvaTempAnswerDetailComReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:172000_1
        }

        /*查询末级周期类型[3067]   */
        Assert.isNull(queryConfItemMatchEvaTempAnswerDetailComReqDto.getResultAspObjId(), "D2-计算汇报任务公共数据准备(公共)-查询末级周期类型-评价模板ID不能为空", false);
        Assert.isNull(queryConfItemMatchEvaTempAnswerDetailComReqDto.getConfItemCode(), "D2-计算汇报任务公共数据准备(公共)-查询末级周期类型-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchEvaTempAnswerDetailComReqDto.getIsPlatData(), "D2-计算汇报任务公共数据准备(公共)-查询末级周期类型-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchEvaTempAnswerDetailComReqDto.getSubjectLifeCycle(), "D2-计算汇报任务公共数据准备(公共)-查询末级周期类型-主体生命周期不能为空", false);
        queryConfItemMatchEvaTempAnswerDetailComRespDto = confSchemeService.queryConfItemMatchEvaTempAnswerDetailCom(queryConfItemMatchEvaTempAnswerDetailComReqDto);


        queryConfItemMatchEvaTempAnswerDetailComRespDto_1 = queryConfItemMatchEvaTempAnswerDetailComRespDto;

//步骤6: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjType("EVA_TEMP");//sourceId:176356_1
        queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("SUBCYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:176355_1
        queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:308486_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:176357_1
        }

        /*查询子周期周期类型[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "D2-计算汇报任务公共数据准备(公共)-查询子周期周期类型-答案归属对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjType(), "D2-计算汇报任务公共数据准备(公共)-查询子周期周期类型-答案归属对象类型不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "D2-计算汇报任务公共数据准备(公共)-查询子周期周期类型-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "D2-计算汇报任务公共数据准备(公共)-查询子周期周期类型-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_2 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1);


        queryConfItemMatchAnswerDetailComRespDto_3 = queryConfItemMatchAnswerDetailComRespDto_2;

//步骤7: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjType("EVA_TEMP");//sourceId:482519_1
        queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("SCHEME_DATA_PARA");//CUSTOM_CONVENTION//sourceId:482518_1
        queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:482527_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:482520_1
        }

        /*查询评价模板数据参数---资料型/进度型/达成度型[2486]   */

        queryConfItemMatchAnswerDetailComRespDto_4 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2);


        queryConfItemMatchAnswerDetailComRespDto_5 = queryConfItemMatchAnswerDetailComRespDto_4;

//步骤8: D2-3查询配置项匹配模板答案(公共)（跨服务） - queryConfItemMatchEvaTempAnswerDetailCom
        QueryConfItemMatchEvaTempAnswerDetailComRespDto queryConfItemMatchEvaTempAnswerDetailComRespDto_2 = null;
        QueryConfItemMatchEvaTempAnswerDetailComReqDto queryConfItemMatchEvaTempAnswerDetailComReqDto_1 = new QueryConfItemMatchEvaTempAnswerDetailComReqDto();
        queryConfItemMatchEvaTempAnswerDetailComReqDto_1.setConfItemCode("CYCLE_MODE");//CUSTOM_CONVENTION//sourceId:558883_1
        queryConfItemMatchEvaTempAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:558920_1
        queryConfItemMatchEvaTempAnswerDetailComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:558921_1
        if (reqDto != null) {
            queryConfItemMatchEvaTempAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:558884_1
        }

        /*查询周期模式[3067]   */
        Assert.isNull(queryConfItemMatchEvaTempAnswerDetailComReqDto_1.getResultAspObjId(), "D2-计算汇报任务公共数据准备(公共)-查询周期模式-评价模板ID不能为空", false);
        Assert.isNull(queryConfItemMatchEvaTempAnswerDetailComReqDto_1.getConfItemCode(), "D2-计算汇报任务公共数据准备(公共)-查询周期模式-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchEvaTempAnswerDetailComReqDto_1.getIsPlatData(), "D2-计算汇报任务公共数据准备(公共)-查询周期模式-是否标准答案不能为空", false);
        Assert.isNull(queryConfItemMatchEvaTempAnswerDetailComReqDto_1.getSubjectLifeCycle(), "D2-计算汇报任务公共数据准备(公共)-查询周期模式-主体生命周期不能为空", false);
        queryConfItemMatchEvaTempAnswerDetailComRespDto_2 = confSchemeService.queryConfItemMatchEvaTempAnswerDetailCom(queryConfItemMatchEvaTempAnswerDetailComReqDto_1);


        queryConfItemMatchEvaTempAnswerDetailComRespDto_3 = queryConfItemMatchEvaTempAnswerDetailComRespDto_2;

        CalculateRepTaskPubDataPrepComRespDto retData = new CalculateRepTaskPubDataPrepComRespDto();
        if (queryClassMatchResultToAnswerDetailComRespDto_1 != null) {
            retData.setReportManagementModel(queryClassMatchResultToAnswerDetailComRespDto_1.getReportManagementModel());//SimpleFieldAssign//sourceId:144526_1
            retData.setNoPracticalValueObjIsProgReport(queryClassMatchResultToAnswerDetailComRespDto_1.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:144527_1
            retData.setReportType(queryClassMatchResultToAnswerDetailComRespDto_1.getReportType());//SimpleFieldAssign//sourceId:144528_1
            retData.setIsOpenBudgetReport(queryClassMatchResultToAnswerDetailComRespDto_1.getIsOpenBudgetReport());//SimpleFieldAssign//sourceId:144529_1
            retData.setIsOpenCustomReport(queryClassMatchResultToAnswerDetailComRespDto_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:144530_1
        }
        if (queryClassMatchResultToAnswerDetailComRespDto_3 != null) {
            retData.setSubjectiveRatingTotalValue(queryClassMatchResultToAnswerDetailComRespDto_3.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:170563_1
            retData.setSubjectiveRatingTotalValueUnit(queryClassMatchResultToAnswerDetailComRespDto_3.getSubjectiveRatingTotalValueUnit());//SimpleFieldAssign//sourceId:486826_1
        }
        if (queryClassMatchResultToAnswerDetailComRespDto_5 != null) {
            retData.setDegreeDecimalPoint(queryClassMatchResultToAnswerDetailComRespDto_5.getDegreeDecimalPoint());//SimpleFieldAssign//sourceId:170564_1
            retData.setProgressDecimalPoint(queryClassMatchResultToAnswerDetailComRespDto_5.getProgressDecimalPoint());//SimpleFieldAssign//sourceId:170565_1
            retData.setDecimalPointRules(queryClassMatchResultToAnswerDetailComRespDto_5.getDecimalPointRules());//SimpleFieldAssign//sourceId:170566_1
            retData.setDecimalDigitsLastRules(queryClassMatchResultToAnswerDetailComRespDto_5.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:170567_1
            retData.setSubjectiveScorePoint(queryClassMatchResultToAnswerDetailComRespDto_5.getSubjectiveScorePoint());//SimpleFieldAssign//sourceId:170568_1
        }
        if (queryClassMatchResultToAnswerDetailComRespDto_7 != null) {
            retData.setCurSubjectiveScoreWeight(queryClassMatchResultToAnswerDetailComRespDto_7.getCurSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:170569_1
            retData.setProcessSubjectiveScoreWeight(queryClassMatchResultToAnswerDetailComRespDto_7.getProcessSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:170570_1
            retData.setActualScoreFormula(queryClassMatchResultToAnswerDetailComRespDto_7.getActualScoreFormula());//SimpleFieldAssign//sourceId:649559_1
            retData.setActualScoreIsOpenLocalLevelScore(queryClassMatchResultToAnswerDetailComRespDto_7.getActualScoreIsOpenLocalLevelScore());//SimpleFieldAssign//sourceId:649560_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_1 != null) {
            retData.setSubjectiveScoreCountRule(queryConfItemMatchAnswerDetailComRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:170571_1
        }
        if (queryConfItemMatchEvaTempAnswerDetailComRespDto_1 != null) {
            retData.setLastCycleType(queryConfItemMatchEvaTempAnswerDetailComRespDto_1.getLastCycleType());//SimpleFieldAssign//sourceId:172034_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_3 != null) {
            retData.setSubCycleType(queryConfItemMatchAnswerDetailComRespDto_3.getEndValue());//SimpleFieldAssign//sourceId:176375_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_5 != null) {
            retData.setSchemeDataPara(queryConfItemMatchAnswerDetailComRespDto_5.getEndValue());//SimpleFieldAssign//sourceId:482530_1
        }
        if (queryConfItemMatchEvaTempAnswerDetailComRespDto_3 != null) {
            retData.setCycleMode(queryConfItemMatchEvaTempAnswerDetailComRespDto_3.getCycleMode());//SimpleFieldAssign//sourceId:558928_1
        }


        return retData;
    }
    //
}
